<!-- PAGE CONTENT WRAPPER -->
<div class="page-content-wrap">

    <div class="row">
        <div class="col-md-12">
            <!-- START TABLE HOVER ROWS -->
            <div class="panel panel-default">
                <div class="panel-heading x-navigation x-navigation-horizontal x-navigation-panel">
                    <div class="panel-title-box" style="width: 30%">
                        <h3 class="panel-title"><strong>{{'查询结果：' | dyLanguage}}</strong></h3>
                    </div>
                    <div class="search-div">
                        <ul class="panel-controls panel-controls-title">
                            <li class="xn-search">
                                <form role="form">
                                    <input ng-model="key" class="searchInputWhite" type="text" name="search" placeholder="{{'查询' | dyLanguage}}"/>
                                </form>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="panel-body table-responsive">
                    <p style="float: left;">{{'本次查询共查询到' | dyLanguage}}{{pagination.length}}{{'条记录。' | dyLanguage}}</p>
                    <cm-pagination ng-model="pagination" ng-show="pagination.length > 0"></cm-pagination>
                    <table class="table table-hover">
                        <thead>
                        <tr>
                            <!--<th>{{'ID' | dyLanguage}}</th>-->
                            <th>{{'企业名称' | dyLanguage}}</th>
                            <th>{{'企业编号' | dyLanguage}}</th>
                            <th>{{'企业来源' | dyLanguage}}</th>
                            <th>{{'员工数' | dyLanguage}}</th>
                            <th>{{'创建时间' | dyLanguage}}</th>
                            <th>op</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr style="word-wrap:break-word;word-break: break-all;" ng-repeat="record in queryResult.datas">
                            <!--<td>{{record.id}}</td>-->
                            <td>{{record.name}}</td>
                            <td>{{record.code}}</td>
                            <td>{{record.platform}}</td>
                            <td>{{record.userTotal}}</td>
                            <td>{{record.createDate.toDate()}}</td>
                            <td>
                                <a href="javascript:void(0)" ng-click="openDetail(record)">{{'账号管理' | dyLanguage}}</a>
                                &nbsp;|&nbsp;
                                <a href="javascript:void(0)" ng-click="treeDetail(record)">{{'组织结构' | dyLanguage}}</a>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                    <cm-pagination ng-model="pagination" ng-show="pagination.length > 0"></cm-pagination>
                </div>
            </div>
            <!-- END TABLE HOVER ROWS -->

        </div>
    </div>

</div>


<!-- END PAGE CONTENT WRAPPER -->
<ui-view name="map-child"></ui-view>